package com.selune.online.ordering.system.common.properties;

import java.util.List;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Created with IntelliJ IDEA.
 *
 * @author xiaoyp
 * @date 2020/3/23
 * <p>
 * Description:
 */

@Data
@ConfigurationProperties(prefix = "cors.setting")
public class CorsProperties {
	
	private Boolean credentials;
	private String pattern;
	private List<String> origins;
	private List<String> methods;
	private List<String> headers;
}
